﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="BESClient.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>BES Client with input/output</title>
    <link rel="shortcut icon" href="/Images/favicon.ico" type="image/x-icon" />
    <link href="StyleSheet1.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="divMain">
            <asp:Label ID="lblAppName" runat="server">AzureML BES Web App</asp:Label><br />
            <asp:Label ID="lblPageInfo" runat="server">For Experiments using web service input and output</asp:Label><br/>
            <a href="Noinputoutput.aspx" title="Noinputoutput.aspx">Go to no web service input/output page</a>
            <div id="divControls">
                <fieldset>
                    <legend>Web Service Info</legend>
                    <asp:Label ID="lblUrl" runat="server" Text="BES Web Service Post URL"></asp:Label><br />
                    <asp:TextBox Width="550px" ID="txtUrl" Text="" runat="server"></asp:TextBox><br />
                    <asp:Label ID="lblKey" runat="server" Text="Web Service API Key"></asp:Label><br />
                    <asp:TextBox Width="500px" ID="txtKey" Text="" runat="server"></asp:TextBox><br />
                </fieldset>
                <fieldset>
                    <legend>Azure Storage Info</legend>
                    <asp:Label ID="lblStAcct" runat="server" Text="Account Name"></asp:Label><br />
                    <asp:TextBox ID="txtStAcctName" Text="" Width="200px" runat="server"></asp:TextBox><br />
                    <asp:Label ID="lblStAcctKey" runat="server" Text="Account Key"></asp:Label><br />
                    <asp:TextBox ID="txtStorageKey" Text="" Width="400px" runat="server"></asp:TextBox><br />         
                    <asp:Label ID="lblContainer" runat="server" Text="Container Name"></asp:Label><br />
                    <asp:TextBox ID="txtContainer" Text="" Width="200px" runat="server"></asp:TextBox><br />
                    <asp:Label ID="lblBlob" runat="server" Text="Store to Blob Name (e.g. inputblob1.csv - File extention must match output)"></asp:Label><br />
                    <asp:TextBox ID="txtBlob" Width="200px" Text="" runat="server"></asp:TextBox><br />
                </fieldset>
                <fieldset>
                    <legend>Input file info</legend>                    
                    <asp:Label ID="lblUpload" runat="server" Text="Select batch file to upload for scoring"></asp:Label><br />
                    <asp:FileUpload Width="300px" ID="FileUpload1" runat="server" /><br />                    
                </fieldset>
            </div>
            <div id="divButton">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" /></div>
            <div id="divResult" runat="server"></div>
        </div>
    </form>
</body>
</html>
